home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
026a
/
formnew.zip
/
FORMNEW.GEN
< prev
Wrap
Text File
|
1990-08-30
|
23KB
|
362 lines
Format (.fmt) File Template with POPUP field validation
-------------------------------------------------------
Version 1.1.19
( Subversion 1. Modified by B. Flynn 8/3/90 - SIG ID BFlynn
Changes: * If DOS variable DTL_REQUIRED exists and is set to ASK,
ask user if REQUIRED should be inserted. If DTL_REQUIRED is
set to anything else, automatically insert REQUIRED w/o
asking. (ex. SET DTL_REQUIRED=ON)
* Ignore 1x1 memo boxes (allows user to open
memo marker to full-screen edit mode).
* No KEYBOARD reference in lookup program for character fields.
)
Ashton-Tate (c) 1987, 1988, 1989, 1990
Written by Kirk J. Nason & Bill Ramos
This template will support POPUPs for VALID clause field validations and
context sensitive help for each field.
Example: In "ACCEPT value when" under "Edit options" enter,
"POPUP" = "vendor->vendor_id ORDER vendor_id REQ SHADOW"
--------------------------------------------------------
this will activate a popup if the data entered is invalid for
that field and will also make the field REQUIRED.
Explanation of the POPUP string follows:
POPUP Indicates that a popup will be used for this field.
vendor->vendor_id Indicates the .DBF to open and FIELD to use as validation.
ORDER vendor_id Indicates which INDEX TAG to SEEK in.
REQ Indicates the FIELD requires data (can't be empty).
Leave REQ out if the field is NOT required. OPTIONAL!
SHADOW Use shadowing effect on popups OPTIONAL!
NOTE: The POPUP string must be entered with the quotes as in the example.
--------------------------------------------------------------------------------
Explanation of the Context Sensitive Help file follows:
If you want to create your own help file, here is the structure that is required.
Structure for Help Database (.dbf):
<first 6 chars. of the format file name>_H.dbf
Field Field Name Type Width Dec Tag
-------------------------------------------------
1 FLD_NAME Character 10 Yes Field name to lookup on F1
2 FLD_HEADNG Character 25 No Heading to show user on window
3 FLD_HELP Memo 10 No Help text to show user
-------------------------------------------------
Total 46
ε¡└